package com.pan.behavioral.Interpreter.exprerssoin.impl;

import com.pan.behavioral.Interpreter.exprerssoin.TerminalExpression;

public class StringExpression extends TerminalExpression {

    private String value;

    public StringExpression(String value) {
        this.value = value;
    }


    @Override
    public Object interpreter() {
        return value;
    }
}
